<template>
  <div>
    <el-table
      :data="tableData"
      stripe
      style="width: 100%"
    >
      <el-table-column
        type="selection"
        width="55"
      >
      </el-table-column>
      <el-table-column
        type="index"
        width="50"
      >
      </el-table-column>
      <el-table-column
        prop="name"
        label="牌照"
      >
      </el-table-column>
      <el-table-column
        prop="number"
        label="司机"
      >
      </el-table-column>
      <el-table-column
        prop="sex"
        label="出行日期"
      >
      </el-table-column>

      <el-table-column
        prop="age"
        label="出行时间"
      >
      </el-table-column>
      <el-table-column
        prop="idnumber"
        label="行车地点"
      >
      </el-table-column>
    </el-table>
    <el-pagination
      @size-change="handleSizeChange"
      @current-change="handleCurrentChange"
      :currentPage.sync="currentPage1"
      :pageSize="100"
      layout="total, prev, pager, next"
      :total="1000"
      style="margin:20px 0;text-align:center"
    >
    </el-pagination>
  </div>
</template>

<script>
export default {
  data() {
    return {
    };
  },
  props: {
    tableData: {
      type: Array,
      required: true,
    },
  },

};
</script>

<style>

</style>
